home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
dll_gen
/
dll4vb
/
simple.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1992-09-08
|
414b
|
34 lines
#define STRICT
#include <windows.h>
#include "simple.h"
int FAR pascal _export SquareInt( int x )
{
return x*x;
}
#pragma argsused
int FAR PASCAL LibMain( HINSTANCE hInstance,
WORD wDataSegment,
WORD wHeapSize,
LPSTR lpszCmdLine )
{
if ( wHeapSize != 0 )
UnlockData( 0 );
return 1;
}
#pragma argsused
int FAR PASCAL WEP ( int bSystemExit )
{
return 1;
}